package com.cn.transfer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.transfer.common.entity.PuPurchaseOrderB;
import com.cn.transfer.common.vo.PurchaseOrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 向伟典
 * @date: 2023/9/1 14:44
 * @Description: ${description}
 */
public interface PuPurchaseOrderBMapper extends BaseMapper<PuPurchaseOrderB> {
    List<PurchaseOrderDetail> getOrderDetails(@Param("id") int id);

    int insertPurchaseOrderDetail(PurchaseOrderDetail purchaseOrderDetail);

    void updatePurchaseOrderDetail(PurchaseOrderDetail purchaseOrderDetail);
    void deleteIdPurchaseOrderDTO(@Param("idPurchaseOrderDTO") String idPurchaseOrderDTO);
}